package com.ckv.qcm.controller;

import java.util.ArrayList;

import com.ckv.qcm.model.Answer;

public class AnswerController {

	public void createAnswer(long idAnswer, long idQuestion, boolean isTrue,
			String intitule) {
		Answer answer = new Answer(idAnswer, intitule, isTrue);
	}

	public Answer find(long idReponse, long idQuestion) { 
		return Answer.find(idReponse, idQuestion);

	}

	public ArrayList<Answer> findAll() {
		return Answer.findAll();

	}

	public void updateAnswer(Answer oAnswer, boolean isTrue, String intitule) {
		// oAnswer.update(intitule,isTrue)
	}

	public void deleteAnswer(Answer oAnswer) {
		// oAnswer.delete();
	}

}
